package com.easthome.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.easthome.model.system.SysMenu;
import com.easthome.model.system.SysRole;
import com.easthome.model.system.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {
    List<SysRole> selectRolesById(Long userId);

    List<SysMenu> findMenusByUserId(Long userId);
}
